/*
 * @Author: weikang
 * @Description:
 * @Date: 2023-12-22 10:58:36
 * @LastEditTime: 2023-12-23 17:05:29
 * @FilePath: \env-manager-pc\src\router\modules\log.ts
 */
import type { RouteRecordRaw } from 'vue-router'

function Layout() {
  return import('@/layouts/index.vue')
}

const routes: RouteRecordRaw = {
  path: '/log',
  component: Layout,
  redirect: '/log/index',
  name: 'log',
  meta: {
    title: '日志查询',
    icon: 'ep:document',
  },
  children: [
    {
      path: 'index',
      name: 'log-info',
      component: () => import('@/views/log/index.vue'),
      meta: {
        title: '日志查询',
        sidebar: false,
        breadcrumb: false,
        activeMenu: '/log',
        auth: '/log/index',
      },
    },
  ],
}

export default routes
